Add pcie qref regulator for Hamoa IOT EVK platform#648
Conversation
All PCIe PHYs on X1E80100 require vdda-qref power supplies, but this is missing in the current PHY device tree node. The PCIe port can still function because the regulator L3J, which vdda-qref consumes, is voted by other components. Since the device tree should accurately describe the hardware, add the vdda-qref power supply explicitly in all PCIe PHY device nodes. Workaround will be reverted once the vote qref regulator for PCIe available in upstream. Signed-off-by: Qiang Yu <qiang.yu@oss.qualcomm.com> Signed-off-by: Ziyue Zhang <ziyue.zhang@oss.qualcomm.com>
All PCIe PHYs on the X1E80100 SOC require the vdda-qref, which feeds QREF clocks provided by the TCSR device. Hence, restore the vdda-qref request for the 6th and the 3th PCIe instance by reverting commit 031b46b ("phy: qcom: qmp-pcie: drop bogus x1e80100 qref supplies") and commit eb7a22f("phy: qcom: qmp-pcie: drop bogus x1e80100 qref supply"). For the 4th PCIe instance (Gen3 x2), add a new driver data entry, namely x1e80100_qmp_gen3x2_pciephy_cfg, which is a copy of sm8550_qmp_gen3x2_pciephy_cfg but uses sm8550_qmp_phy_vreg_l instead. Workaround will be reverted once the vote qref regulator for PCIe available in upstream. Fixes: eb7a22f ("phy: qcom: qmp-pcie: drop bogus x1e80100 qref supplies") Fixes: 031b46b ("phy: qcom: qmp-pcie: drop bogus x1e80100 qref supplies") Fixes: 606060c ("phy: qcom-qmp-pcie: Add support for X1E80100 g3x2 and g4x2 PCIE") Cc: Johan Hovold <johan+linaro@kernel.org> Cc: Abel Vesa <abel.vesa@linaro.org> Signed-off-by: Wenbin Yao <quic_wenbyao@quicinc.com> Signed-off-by: Qiang Yu <qiang.yu@oss.qualcomm.com> Signed-off-by: Ziyue Zhang <ziyue.zhang@oss.qualcomm.com>
PR #648 — validate-patchPR: #648
Final Summary
|
PR #648 — checker-log-analyzerPR: #648
Detailed report: Full report
|
Change 1: phy: qcom: qmp-pcie: add x1e80100 qref supplies
Restores vdda-qref supply for PCIe PHY instances on X1E80100 that were incorrectly removed by previous commits, and
adds missing vdda-qref support for the Gen3x2 PCIe instance.
Change 2: arm64: dts: qcom: Add qref supply for PCIe PHYs
Explicitly adds vdda-qref power supply to all PCIe PHY device tree nodes on X1E80100, ensuring the DT accurately
reflects the hardware requirements.
———
Why need this change:
All PCIe PHYs on X1E80100 require vdda-qref supply. Without explicitly voting for it, PCIe PHY functionality relies on
other components accidentally keeping the regulator alive, which is not guaranteed.
Why it cannot be upstreamed:
The proper upstream fix requires moving the qref and refgen vote into the TCSR driver, which is not yet ready. These
changes serve as a temporary workaround and will be reverted once the upstream solution is available.
CRs-Fixed: 4536367
qli-2.0 GA Critical Fix